package com.zzzzzz.topic.model;

import java.util.Date;

import com.zzzzzz.common.util.Util;

public class TopicBo {

	private Topic _topic;
	
	private String userThumbnailId;
	private String userName;
	
	public TopicBo(Topic topic) {
		_topic = topic;
	}

	public Topic geTopic() {
		return _topic;
	}
	
	public String getTopicId() {
		return _topic.getTopicId();
	}
	public String getImageId() {
		return _topic.getImageId();
	}
	public String getDescription() {
		return _topic.getDescription();
	}
	public String getCategory() {
		return _topic.getCategory();
	}
	public String getUserId() {
		return _topic.getUserId();
	}
	public String getThumbnailDimension() {
		return _topic.getThumbnailDimension();
	}
	public Date getCreateDate() {
		return _topic.getCreateDate();
	}

	public String getUserThumbnailId() {
		return userThumbnailId;
	}
	public void setUserThumbnailId(String userThumbnailId) {
		this.userThumbnailId = userThumbnailId;
	}
	public String getDisplayDate() {
		return "Added " + Util.getTimeDifferent(getCreateDate(), new Date());
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	
}
